/**
* @file mag_mag3110.h in InsCubeBsp
* @author linfe
* @comment
* Create on 2022/11/29 23:36
* @version 1.0
**/

#ifndef INSCUBEBSP_CORE_SRC_DRIVERS_MAG_MAG3110_H_
#define INSCUBEBSP_CORE_SRC_DRIVERS_MAG_MAG3110_H_
#include "bsp.h"

typedef struct {
    uint16_t x[3];
}magnet_data_t;

typedef struct {
  bsp_device_t dev;                             /* bsp_device*/
  void (*delay_ms)(uint32_t ms);                /* 延时函数,单位ms*/
  int (*trace)(const char *fmt, ...);           /* 打印函数*/
} mag3110_handle_t;

#endif //INSCUBEBSP_CORE_SRC_DRIVERS_MAG_MAG3110_H_
